// ColonyScreenView.cs
//
// Copyright (c) 2009 Mike Strobel
//
// This source code is subject to the terms of the Microsoft Reciprocal License (Ms-RL).
// For details, see <http://www.opensource.org/licenses/ms-rl.html>.
//
// All other rights reserved.

using System.Windows.Input;

using Microsoft.Practices.Unity;

using Supremacy.Annotations;

namespace Supremacy.Client.Views
{
    public class ColonyScreenView : GameScreenView<ColonyScreenPresentationModel>, IColonyScreenView
    {
        public ColonyScreenView([NotNull] IUnityContainer container) : base(container)
        {
            this.InputBindings.Add(
                new KeyBinding(
                    ColonyScreenCommands.PreviousColonyCommand,
                    Key.Left,
                    ModifierKeys.None));
            this.InputBindings.Add(
                new KeyBinding(
                    ColonyScreenCommands.NextColonyCommand,
                    Key.Right,
                    ModifierKeys.None));
        }
    }
}